<?php
/**
 * Created by PhpStorm.
 * User: zhuzi
 * Date: 2016/12/9
 * Time: 18:45
 */

namespace app\admin\controller;


use think\Controller;

class Systemcontrol extends Controller
{
   public function _initialize()
   {
       //校验是否是管理远登录了
       if(!session("admin")){
           $this->redirect ("Admin/Login/index");
       }

   }
}